package com.nineclock.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("数据传输对象")
public class SysCompanyContactConfigDTO implements Serializable {
    @ApiModelProperty("主键")
     private Long id; //主键
    @ApiModelProperty("字段名称")
    private String name; //字段名称
    @ApiModelProperty("字段类型,fixed为固定字段(不可删除)，dynamic为动态字段(可删除)")
    private String type; //字段类型 : fixed为固定字段(不可删除)，dynamic为动态字段(可删除)
    @ApiModelProperty("字段类型-Integer和String")
    private String fieldType; //字段类型 -- Integer , String
    @ApiModelProperty("状态,1为可用,0为不可用")
    private Short status; //状态: 1为可用 0为不可用
    @ApiModelProperty("企业的ID")
    private Long companyId; //企业ID
}